const { defineConfig } = require('@vue/cli-service')
//const { resolve } = require('core-js/fn/promise')
module.exports = defineConfig({
  transpileDependencies: true
})

const path = require('path')

function resolve(dir) {
  return path.join(__dirname, dir)
}
//通过@代替src取别名
module.exports={
  configureWebpack: {
    resolve:{
      alias: {
        '@':resolve('src')
      }
    }
  }
}
